.date-bg{
  background: #fff;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.05);
}

.date-tab{
  position: relative;
  .date-tab-arrow{
    position: absolute;
    top: 0;
    width: 24px;
    text-align: center;
    line-height: 48px;
    color: #bdbdbd;
    border: solid 1px #e5e5e5;
    cursor: pointer;
    z-index: 1;
    &:hover{
      color: #333;
    }
    &.arrow-prev{
      left: 0;
      border-right: 0;
      border-radius: 3px 3px 0 0;
    }
    &.arrow-next{
      right: 0;
      border-left: 0;
      border-radius: 3px 3px 0 0;
    }
  }
  .ivu-tabs{
    .ivu-tabs-bar{
      margin-bottom: 0;
      .ivu-tabs-nav-container{
        height: 50px;
        .ivu-tabs-nav-wrap{
          .ivu-tabs-nav-scroll{
            width: 100%;
            padding: 0 24px;
            .ivu-tabs-nav{
              width: 100%;
              display: flex;
              .ivu-tabs-tab{
                flex: 1;
                height: 50px;
                padding: 0;
                text-align: center;
                line-height: 49px;
                margin: 0;
              }
            }
          }
        }
      }
    }
    .ivu-tabs-content{
      padding: 38px 24px;
      border: solid 1px #e5e5e5;
      border-top: 0;
      box-sizing: border-box;
      border-radius: 0 0 5px 5px;
    }
  }
  .tabs-title{
    width: 100%;
    height: 50px;
    display: flex;
    padding: 0 24px;
    .tabs-title-item{
      flex: 1;
      height: 50px;
      padding: 0;
      text-align: center;
      line-height: 49px;
      margin: 0;
      border: solid 1px #e5e5e5;
      cursor: pointer;
      border-radius: 5px 5px 0 0;
      &:hover{
        color: #000;
      }
      &.active{
        height: 53px;
        position: relative;
        top: -3px;
        color: #2d8cf0;
        border-bottom: solid 1px #fff;
        font-weight: bold;
      }
    }
  }
}

.date-subTitle{
  line-height: 55px;
  background: #daf3fb;
  font-size: 14px;
  .ivu-col{
    text-align: center;
    color: #3a98e8;
    &:nth-child(2n){
      background: #e6f7fd;
    }
  }
}
.date-content{
  height: 300px;
  background: #f7f7f7;
  font-size: 14px;  
  border-bottom: solid 1px #eaeaea;
  &:last-child{
    border-bottom: 0;
  }
  .ivu-col{
    height: 100%;
    // text-align: center;
    padding: 5px;
    &:nth-child(2n){
      background: #fcfcfc;
    }
    &.left-title{
      padding: 0;
      line-height: 300px;
      color: #3a98e8;
      text-align: center;
    }
    .date-box-wrap{
      width: 100%;
      height: 100%;
      padding: 10px;
      border: solid 1px rgba(255, 255, 255, 0);
      display: table;
      &:hover{
        border: dashed 1px rgba(13, 194, 255, 1);
        .edit{
          display: block;
        }
      }
      &.active{
        border: solid 1px rgba(13, 194, 255, 1);
        .edit{
          display: none;
        }
      }
      .edit{
        display: none;
        cursor: pointer;
        position: absolute;
        left: 15px;
        top: 15px;
      }
      .date-edit-wrap{
        width: 100%;
        height: 100%;
        word-break: break-all;
        textarea.ivu-input{
          border: 0;
          background: rgba(255, 255, 255, 0);
          outline: none;
          box-shadow: none;
        }
        .date-edit-btns{
          width: 100%;
          position: absolute;
          left: 0;
          bottom: 20px;
        }
      }
      .date-text{
        width: 100%;
        height: 100%;    
        display: table-cell;
        vertical-align: middle;
        word-break: break-all;
        .ql-align-center {
          text-align: center;
        }
        .ql-align-justify {
          text-align: justify;
        }
        .ql-align-right {
          text-align: right;
        }
      }
    }
  }
}

.date-wrap{
  border: solid 1px #e5e5e5;
  border-top: 0;
  border-radius: 0 0 5px 5px;
}

.form-add-plan{
  .form-item{
    position: relative;
    .ivu-form-item-label{
      padding: 0 0 5px 0;
    }
  }
}

.add-plan-divider{
  position: relative;
  &:before, &:after{
    content: "";
    width: 14px;
    height: 7px;
    position: absolute;
    background-color: #a9a9a9;
    border-radius: 14px 14px 0 0;
    top: 9px;
  }
  &:before{
    transform: rotate(90deg);
    left: -20px;
  }
  &:after{
    transform: rotate(-90deg);
    right: -20px;
  }
}

.add-plan-editor{
  &.editor-180{
    height: 180px;
  }
  &.editor-135{
    height: 135px;
  }
  .quill-editor{
    height: 100%;
    .ql-toolbar{
      border-radius: 5px 5px 0 0;
      background-image: linear-gradient(0deg, #f4f4f4 0%, #fefefe 100%);
    }
    .ql-container{
      border-radius: 0 0 5px 5px;
      background: #fff;
    }
  }
}

.add-plan-modal{
  .ivu-modal-header{
    height: 50px;
    background: #0dc2ff;
    border-radius: 5px 5px 0 0;
    .ivu-modal-header-inner{
      color: #fff;
      text-align: center;
      font-size: 18px;
    }
  }
}

.add-plan-modal-tabs{
  .ivu-tabs-bar{
    .ivu-tabs-nav-container{
      .ivu-tabs-nav-wrap{
        .ivu-tabs-nav-scroll{
          .ivu-tabs-nav{
            .ivu-tabs-ink-bar{
              background-color: #0dc2ff;
            }
            .ivu-tabs-tab{
              &:hover{
                color: #0dc2ff;
              }
              &.ivu-tabs-tab-active{
                color: #0dc2ff;
              }
            }
          }
        }
      }
    }
  }
}